[

define client_isXHR::boolean => client_headers->regex('(?i)X-Requested-With:\\s+XMLHttpRequest')->size->asBoolean
// looks for header "X-Requested-With: XMLHttpRequest" added by jQuery and Prototype (and others?)
// note, can be easily spoofed!

define client_isAJAX::boolean => client_isXHR

define client_isPrefetch::boolean => client_headers->regex('(?i)x-moz:\\s+.*prefetch')->size->asBoolean
	// looks for header "x-moz: prefetch" currently sent by Google Web Accelerator and Mozilla browsers (and others?)
	// more info on prefetching:
	//   http://webaccelerator.google.com/webmasterhelp.html
	//   http://www.mozilla.org/projects/netlib/Link_Prefetching_FAQ.html#Do_prefetched_requests_contain_a
	//   http://david.backpackit.com/pub/37983

]